package com.zytool.easyrestful.core;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.util.Date;

@Data
@ApiModel
public class GenericEntity {

    @Id
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("删除标记")
    private Integer deleteFlag;

    @ApiModelProperty("版本号")
    private Integer version;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
